Hypermodern Python Tooling by Claudio Jolowicz
Author:Claudio Jolowicz [Claudio Jolowicz]
Language: eng
Format: epub
ISBN: 9781098139582
Publisher: O'Reilly Media, Inc.
Published: 2024-04-25T00:00:00+00:00
[project] license = { text = "proprietary" } classifiers = [ "License :: Other/Proprietary License", "Private :: No Upload", ]
The Required Python Version
Use the project.requires-python field to specify the versions of Python that your project supports.6
[project] requires-python = ">=3.7"
Most commonly, people specify the minimum Python version as a lower bound, using a string with the format >=3.x. The syntax of this field is more general and follows the same rules as version specifiers for project dependencies (see Chapter 4).
Tools like Nox and tox make it easy to run checks across multiple Python versions, helping you ensure that the field reflects reality. As a baseline, I recommend requiring the oldest Python version that still receives security updates. You can find the end-of-life dates for all current and past Python versions on the Python Developer Guide.
There are three main reasons to be more restrictive about the Python version. First, your code may depend on newer language featuresââfor example, structural pattern matching was introduced in Python 3.10. Second, your code may depend on newer features in the standard libraryââlook out for the âChanged in version 3.xâ notes in the official documentation. Third, it could depend on third-party packages with more restrictive Python requirements.
Some packages declare upper bounds on the Python version, such as >=3.7,<4. This practice is discouraged, but depending on such a package may force you to declare the same upper bound for your own package. Dependency solvers canât downgrade the Python version in an environment; they will either fail or, worse, downgrade the package to an old version with a looser Python constraint. A future Python 4 is unlikely to introduce the kind of breaking changes that people associate with the transition from Python 2 to 3.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
What's Done in Darkness by Kayla Perrin(26533)
Shot Through the Heart: DI Grace Fisher 2 by Isabelle Grey(19015)
The Fifty Shades Trilogy & Grey by E L James(18969)
Shot Through the Heart by Mercy Celeste(18886)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 10 by Isuna Hasekura and Jyuu Ayakura(16994)
Python GUI Applications using PyQt5 : The hands-on guide to build apps with Python by Verdugo Leire(16888)
Peren F. Statistics for Business and Economics...Essential Formulas 3ed 2025 by Unknown(16811)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 03 by Isuna Hasekura and Jyuu Ayakura & Jyuu Ayakura(16710)
Wolf & Parchment: New Theory Spice & Wolf, Vol. 01 by Isuna Hasekura and Jyuu Ayakura & Jyuu Ayakura(16337)
The Subtle Art of Not Giving a F*ck by Mark Manson(14274)
The 3rd Cycle of the Betrayed Series Collection: Extremely Controversial Historical Thrillers (Betrayed Series Boxed set) by McCray Carolyn(14079)
Stepbrother Stories 2 - 21 Taboo Story Collection (Brother Sister Stepbrother Stepsister Taboo Pseudo Incest Family Virgin Creampie Pregnant Forced Pregnancy Breeding) by Roxi Harding(13442)
Scorched Earth by Nick Kyme(12719)
Drei Generationen auf dem Jakobsweg by Stein Pia(10927)
Suna by Ziefle Pia(10852)
Scythe by Neal Shusterman(10280)
International Relations from the Global South; Worlds of Difference; First Edition by Arlene B. Tickner & Karen Smith(9484)
Successful Proposal Strategies for Small Businesses: Using Knowledge Management ot Win Govenment, Private Sector, and International Contracts 3rd Edition by Robert Frey(9322)
This is Going to Hurt by Adam Kay(9113)
